package com.caiya.service;

import com.caiya.cart.CartRequest;
import com.caiya.cart.dto.user.CartUserInfoDto;
import com.caiya.cart.entity.CartUser;
import com.caiya.cart.vo.user.CartUserAddVo;
import com.caiya.cart.vo.user.CartUserInfoVo;
import com.caiya.cart.vo.user.CartUserListVo;
import com.caiya.cart.vo.user.CartUserUpdateVo;
import com.github.pagehelper.PageInfo;

/**
 * Created by Administrator on 2018/11/28 0028.
 */
public interface UserCartService {
    PageInfo<CartUser> list(CartUserListVo cartUserListVo);

    int add(CartUserAddVo cartUserAddVo) throws Exception;

    int update(CartUserUpdateVo cartUserUpdateVo) throws Exception;

    CartUserInfoDto info(CartUserInfoVo cartUserInfoVo);

    CartUser buId(Long id);
}
